package Test;

import fied_method_03.Circle;

public class CircleTest {
    public static void main(String[] args) {
        Circle circle = new Circle();
        circle.r = 5;
//        circle.area();

//        double pai = 3.1415926;
        circle.area2(3.14);
        circle.area2(3.1415926);

        double r = 10;
        double pai = 3.14;


        double s = circle.area3(r,pai);

        System.out.println("半径为"+ r
                + "的圆面积为" + s);
    }
}

